package com.example.user.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.commons.core.entity.Right;
import com.example.user.mapper.RightMapper;
import com.example.user.service.RightService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RightServiceImpl extends ServiceImpl<RightMapper, Right> implements RightService {

    @Override
    public List<Right> rightFindByUserId(Long userId) {
        return baseMapper.rightFindByUserId(userId);
    }
}
